/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package com.pancho;

import java.io.Serializable;
public class QuestForm implements Serializable {
	public QuestForm() {
	}
	
	private int idQuestForm;
	
	private com.pancho.BabyMonitor babyMonitorCodSystem;
	
	private com.pancho.Question questionidQuest;
	
	private void setIdQuestForm(int value) {
		this.idQuestForm = value;
	}
	
	public int getIdQuestForm() {
		return idQuestForm;
	}
	
	public int getORMID() {
		return getIdQuestForm();
	}
	
	public void setBabyMonitorCodSystem(com.pancho.BabyMonitor value) {
		if (this.babyMonitorCodSystem != value) {
			com.pancho.BabyMonitor lbabyMonitorCodSystem = this.babyMonitorCodSystem;
			this.babyMonitorCodSystem = value;
			if (value != null) {
				babyMonitorCodSystem.setQuestForm(this);
			}
			else {
				lbabyMonitorCodSystem.setQuestForm(null);
			}
		}
	}
	
	public com.pancho.BabyMonitor getBabyMonitorCodSystem() {
		return babyMonitorCodSystem;
	}
	
	public void setQuestionidQuest(com.pancho.Question value) {
		if (this.questionidQuest != value) {
			com.pancho.Question lquestionidQuest = this.questionidQuest;
			this.questionidQuest = value;
			if (value != null) {
				questionidQuest.setQuestForm(this);
			}
			else {
				lquestionidQuest.setQuestForm(null);
			}
		}
	}
	
	public com.pancho.Question getQuestionidQuest() {
		return questionidQuest;
	}
	
	public String toString() {
		return String.valueOf(getIdQuestForm());
	}
	
}
